<html>
<%@ include file="../header.jsp" %>
<%@ page import="admin.system.func.*" %>
<body>
<%   FuncBean[] funcs = (FuncBean[])request.getAttribute("funcs");
     if (funcs==null)
        funcs = new Func[0];  %>
<body >
<h2>Function Maintenance</h2>
<INPUT type=button value=Back onclick=javascript:history.back()>
<table cols=6 border=1 >
<thead>
  <td><b>Function ID</b></td>
  <td><b>Function Name</b></td>
  <td><b>Parent ID</b></td>
  <td><b>URL</b></td>
  <td><b>Division</b></td>
  <td><b>Sequence</b></td>
</thead>
<%  for (int i=0; i<funcs.length; i++)
    {   %>
<tr>
    <td><a href="<%=contextPath%>/servlet/admin.system.func.FuncSearch?formAction=Update&func_id=<%=funcs[i].getFunc_id()%>" ><%=funcs[i].getFunc_id()%></a></td>
    <td><%=funcs[i].getFunc_name()%></td>
    <td><%=funcs[i].getParent_id()%></td>
    <td><%=funcs[i].getUrl()%></td>
    <td><%=funcs[i].getDivision()%></td>
    <td><%=funcs[i].getSequence()%></td>
</tr>
<%  } %>
</table>
</body>
<%@ include file="../footer.jsp" %>
</body>
</html>

